package com.dz.order.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import com.dz.customer.entity.Customer;
import com.dz.customer.entity.SmsSenderVO;

@FeignClient("customer")
public interface CustomerService {
	
	@RequestMapping("/updatePhone")
	public boolean updatePhone(@RequestBody Customer customer);
	
	
	@RequestMapping("/verifyCode")
	public boolean verifyCode(@RequestBody SmsSenderVO smsSenderVO);

}
